package com.example.a10928.weifriend.adapter;

import android.widget.ProgressBar;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.a10928.weifriend.R;
import com.example.a10928.weifriend.http.api.base.ActiveDetailBean;
import com.example.a10928.weifriend.http.api.base.MyAdertBean;
import com.squareup.picasso.Picasso;

import java.util.List;

public class ActiveOrderAdapter extends BaseQuickAdapter<ActiveDetailBean.ShopOrderBean, BaseViewHolder> {

    public ActiveOrderAdapter(int layoutResId,  List<ActiveDetailBean.ShopOrderBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ActiveDetailBean.ShopOrderBean item) {


        helper.setText(R.id.tv,"订单号："+item.getOrder_number()+" 我的中奖码："+item.getShop_code());


    }
}
